package com.meituan.verintreport.db.dao;

import com.meituan.verintreport.db.dto.AssesmentsOnFormDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

@Mapper
public interface AssesmentsOnFormMapper {
    int deleteByPrimaryKey(Long assesmentKey);

    int insert(AssesmentsOnFormDto record);

    int insertSelective(AssesmentsOnFormDto record);

    AssesmentsOnFormDto selectByPrimaryKey(Long assesmentKey);

    int updateByPrimaryKeySelective(AssesmentsOnFormDto record);

    int updateByPrimaryKey(AssesmentsOnFormDto record);

    Long getMaxId();

    Long getMaxIdBeforeDateTime(String endTime);

    Integer removeByTime(@Param("startTime") String startTime, @Param("endTime") String endTime);
}